package com.changcheng.project.yuminsi.vo;

import java.util.List;

/**
 * @author yuminsi
 * @description
 * @date 2020/9/11 10:38
 * @since
 */
public class UserLoginResponse {
    /**账号 Id*/
    private Long accountId;
    /**账号名称*/
    private String accountName;
    /**Token*/
    private String accessToken;
    /**账号类型,{0:运营,1:经销商}*/
    private Integer sysSource;
    /**企业 Id,{XDZN:仙豆,CC01:长城}*/
    private String enterpriseId;
    /**姓名*/
    private String name;
    /**性别，{0-女,1-男,2-未知}*/
    private Integer gender;
    /**邮箱*/
    private String email;
    /**手机号*/
    private String phone;
    /**部门 Id*/
    private Integer deptId;
    /**部门名称*/
    private String deptName;
    /**经销商 Code*/
    private String dealerCode;
    /**经销商名称*/
    private String dealerName;
    /**角色列表*/
    private List<AuthRoles> authRoles;

    public Long getAccountId() {
        return accountId;
    }

    public void setAccountId(Long accountId) {
        this.accountId = accountId;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public Integer getSysSource() {
        return sysSource;
    }

    public void setSysSource(Integer sysSource) {
        this.sysSource = sysSource;
    }

    public String getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(String enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDealerCode() {
        return dealerCode;
    }

    public void setDealerCode(String dealerCode) {
        this.dealerCode = dealerCode;
    }

    public List<AuthRoles> getAuthRoles() {
        return authRoles;
    }

    public void setAuthRoles(List<AuthRoles> authRoles) {
        this.authRoles = authRoles;
    }

    public String getDealerName() {
        return dealerName;
    }

    public void setDealerName(String dealerName) {
        this.dealerName = dealerName;
    }

    @Override
    public String toString() {
        return "UserLoginResponse{" +
                "accountId=" + accountId +
                ", accountName='" + accountName + '\'' +
                ", accessToken='" + accessToken + '\'' +
                ", sysSource=" + sysSource +
                ", enterpriseId='" + enterpriseId + '\'' +
                ", name='" + name + '\'' +
                ", gender=" + gender +
                ", email='" + email + '\'' +
                ", phone='" + phone + '\'' +
                ", deptId=" + deptId +
                ", deptName='" + deptName + '\'' +
                ", dealerCode='" + dealerCode + '\'' +
                ", dealerName='" + dealerName + '\'' +
                ", authRoles=" + authRoles +
                '}';
    }
}
